package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Base_Modular")
public class BaseModular {

    @Id
    @Column(nullable = false)
    private Integer id; // id

    @Column(nullable = false, length = 50)
    private String mname; // 功能模块名称

    @Column(nullable = false, length = 50)
    private String murl; // 功能地址

    @Column(nullable = false)
    private Integer parentid; // 上一级（0表示第一级）

    @Column(nullable = false)
    private Integer morder; // 顺序号

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMurl() {
        return murl;
    }

    public void setMurl(String murl) {
        this.murl = murl;
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public Integer getMorder() {
        return morder;
    }

    public void setMorder(Integer morder) {
        this.morder = morder;
    }


}